-
Home
-
Events Shortcodes For The Events Calendar
-
1.9.2
-
Code
-
Classes
- Color
Total Complexity |
105 |
Dependencies |
0 |
Dependents |
2 |
Total lines |
571 |
Lines of code |
379 |
Logical lines of code |
168 |
Comment lines |
69 |
Methods |
28 |
Properties |
10 |
Methods 28
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
inputToRGB() |
C |
40 |
25 |
53 |
stringInputToObject() |
B |
35 |
17 |
96 |
toString() |
B |
44 |
20 |
42 |
__construct() |
A |
47 |
7 |
35 |
getLuminance() |
S |
53 |
4 |
22 |
toName() |
S |
63 |
4 |
10 |
toFilter() |
S |
61 |
3 |
11 |
toHslString() |
S |
63 |
2 |
9 |
toPercentageRgbString() |
S |
64 |
2 |
8 |
toHsvString() |
S |
63 |
2 |
9 |
toRgbString() |
S |
65 |
2 |
8 |
toHex8String() |
S |
79 |
1 |
3 |
isValidCSSUnit() |
S |
78 |
1 |
3 |
isDark() |
S |
80 |
1 |
3 |
toPercentageRgb() |
S |
65 |
1 |
8 |
toRgb() |
S |
67 |
1 |
8 |
isValid() |
S |
82 |
1 |
3 |
toHex8() |
S |
78 |
1 |
3 |
getOriginalInput() |
S |
82 |
1 |
3 |
toHex() |
S |
78 |
1 |
3 |
isLight() |
S |
80 |
1 |
3 |
toHsl() |
S |
65 |
1 |
9 |
toHsv() |
S |
65 |
1 |
9 |
setAlpha() |
S |
72 |
1 |
5 |
getBrightness() |
S |
73 |
1 |
4 |
getAlpha() |
S |
82 |
1 |
3 |
getFormat() |
S |
82 |
1 |
3 |
toHexString() |
S |
79 |
1 |
3 |